<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style>
.damao{ position:relative; width:300px; height:300px; z-index:1;}
.xiaomao{width:300px; height:300px; position:relative; background-color:#066; z-index:999;}
.ermao{width:200px; height:200px; background-color:red; position:relative; top:-100px; z-index:5;}
</style>
</head>

<body>
<div class="damao">
	<div class="xiaomao"></div>
</div>
<div class="ermao"></div>
</body>
</html>
